package com.ibangnuo.manage.dao;

import com.ibangnuo.framework.domain.Order;
import com.ibangnuo.framework.domain.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @Author: wwy
 * @Date: 2019-12-26 17:36
 */
public interface RoleRepository extends JpaRepository<Role,String>, JpaSpecificationExecutor {

    Role findByRoleCode(String roleCode);

    Role findByRoleName(String roleName);

}
